function h=drawSVG(source_name)
p_file=fopen(source_name);
if p_file==-1
    fprintf('falied to load image %s',source_name);    
end
text = fgetl(p_file);
data= sscanf(text,'%f, ');
width = data(1); height = data(2);
figure;
while(~feof(p_file))
    text = fgetl(p_file);
    data = sscanf(text,'%f, ');
    switch data(1)
        case 1
          line([data(2) data(4)], [data(3) data(5)],'linewidth',2);
        otherwise
            frpintf('unkonw shape type found!\n');
    end
end
fclose(p_file);


axis equal
axis([0 width 0 height]);
axis ij
grid on
h = gcf;
end

